<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
</head>
<body>
<div th:fragment="tableBlock" class="widget-content">
    <div class="table-responsive">
        <table id="datatable" class="table table-striped data-table table-bordered module-block" width="100%">
        <thead>
        <tr>
            <th class="table-head" id="estateName">小区名称</th>
            <th class="table-head" id="hourceName">房间名称</th>
            <th class="table-head" id="payUserName">支付用户</th>
            <th class="table-head" id="businessType">业务类型</th>
            <th class="table-head" id="payType">支付方式</th>
            <th class="table-head" id="payAmount">支付金额(元)</th>
            <th class="table-head" id="refundAmount">退款金额(元)</th>
            <th class="table-head" id="payStatus">支付状态</th>
            <th class="table-head" id="payStartTime">支付时间</th>
            <th class="table-head" id="trxid">支付账单流水号</th>
            <th class="table-head">操作</th>
        </tr>
        </thead>

        <tbody>
        <tr  th:each="pPay : ${formBean.list}">
            <td class="table-content" th:text="${pPay.estateName}"></td>
            <td class="table-content" th:text="${pPay.hourceName}"></td>
            <td class="table-content" th:text="${pPay.payUserName}"></td>
            <td class="table-content"  th:text="${pPay.businessTypeName}"></td>
            <td class="table-content"   th:text="${pPay.payTypeName}"></td>
            <td class="table-content" th:text="${pPay.payAmount}==''?'':${pPay.payAmount}/100"></td>
            <td class="table-content" th:text="${pPay.refundAmount}==null?'':${pPay.refundAmount}/100"></td>
            <td class="table-content" th:text="${pPay.payStatusName}"></td>
            <td class="table-content" th:text="${pPay.payStartTime}"></td>
            <td class="table-content" th:text="${pPay.trxid}"></td>
            <td>
                <div class="td-operate">
                    <a href="#" th:onclick="'javascript:detailSubmitInfo(\'pays\',\''+${pPay.guid}+'\');'" class="td-info">详情</a>
                </div>
            </td>
        </tr>

        </tbody>

    </table>
    </div>
</div>

</body>
</html>